﻿@using System.Net.Http
@using System.Net.Http.Json
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.AspNetCore.Components.Web.Virtualization
@using Microsoft.AspNetCore.Components.WebAssembly.Http
@using Microsoft.JSInterop
@using Masa.Blazor
@using Masa.Blazor.Presets
@using MasaWasmApp
@using MasaWasmApp.Shared
@using Microsoft.AspNetCore.Components.WebAssembly.Authentication
@using Microsoft.AspNetCore.Components.Authorization
@* authorization all blazor pages *@
@* https://stackoverflow.com/questions/60687879/require-authorization-on-all-blazor-pages *@
@* @attribute [Authorize] *@

@using Masa.Stack.Components
@using Masa.Stack.Components.TaskHandle;
@using static Masa.Stack.Components.JsInitVariables